<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>MyJPetStore</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>
    <div th:replace="common/top"></div>
    <div id="Content">
        <div id="Catalog">
            <form action="/kaptcha/imgvrifyControllerDefaultKaptcha" method="post">
                <p>Please enter your username and password.</p>
                <p>Username:<input type="text" name="username" > <br />
                    Password:<input type="password" name="password" ><br />
                    VerificationCode:<input type="text" name="vrifyCode"/>
                <img alt="验证码" onclick="this.src='/kaptcha/defaultKaptcha?d='+new Date()*1" th:src="@{'/kaptcha/defaultKaptcha?d='+'0'}">
                </p>
                <p th:if="${msg!=null}" th:text="${msg}"></p>
                <input type="submit" name="signon" value="Login">
            </form>
            Need a user name and password?
            <a href="/account/newAccountForm">Register Now!</a>
        </div>

    </div>

    <div th:replace="common/bottom"></div>
</body>
</html>